//
//  YWFunctionModel.h
//  maintain
//
//  Created by 烟雨云渊 on 17/1/5.
//  Copyright © 2017年 ewin. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSInteger, YWFunctionStatus) {
    YWFunctionStatusOff = 0,//关
    YWFunctionStatusOn = 1,//开
};

typedef NS_ENUM(NSInteger, YWFunctionId) {
    YWFunctionIdEquipmentLedger = 10000,//设备台账
    YWFunctionIdPostTrouble = 10001,//报障
    YWFunctionIdKeepWatch = 10002,//巡更
    YWFunctionIdInspection = 10003,//巡查
    YWFunctionIdDetection = 10004,//检测
    YWFunctionIdUpkeep = 10005,//保养
    YWFunctionIdRepair = 10006,//维修
    YWFunctionIdRecords = 10007,//记录
    YWFunctionIdCheckRecord = 10008,//清点
    YWFunctionIdMaterial = 10009,//物料
    YWFunctionIdShuidianmei = 10010,//抄表
    YWFunctionIdAttendance = 10011,//签到
    YWFunctionIdNotice = 10012,//通知
    YWFunctionIdTempMission = 10013,//临时任务
    YWFunctionIdAddressBook = 10014,//通讯录
};

typedef NS_ENUM(NSInteger, YWFunctionTag) {
    YWFunctionTagEquipmentLedger = 200,//设备台账
    YWFunctionTagPostTrouble = 201,//报障
    YWFunctionTagKeepWatch = 202,//巡更
    YWFunctionTagInspection = 203,//巡查
    YWFunctionTagDetection = 204,//检测
    YWFunctionTagUpkeep = 205,//保养
    YWFunctionTagRepair = 206,//维修
    YWFunctionTagRecords = 207,//记录
    YWFunctionTagCheckRecord = 208,//清点
    YWFunctionTagMaterial = 209,//物料
    YWFunctionTagShuidianmei = 210,//抄表
    YWFunctionTagAttendance = 211,//签到
    YWFunctionTagNotice = 212,//通知
    YWFunctionTagTempMission = 213,//临时任务
    YWFunctionTagAddressBook = 214,//通讯录
};

@interface YWFunctionModel : NSObject
/**功能id*/
@property (nonatomic, assign) YWFunctionId functionId;
/**功能名称*/
@property (nonatomic, copy) NSString *functionName;
/**功能状态 0表示关，1表示开*/
@property (nonatomic, assign) YWFunctionStatus offOrOn;
/**功能Tag,与首页布局有关*/
@property (nonatomic, assign) NSInteger functionTag;
/**功能image*/
@property (nonatomic, copy) NSString *imageString;
/**红色提醒数字*/
@property (nonatomic, copy) NSString *redCount;
@end
